3.5 Layouts
Motivations
Can you see any background layout in
TRU Board Games Playground
?
Layouts
TRU Board Game Playground uses a framework called Bootstrap.
Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first web sites.
Read all in
Bootstrap Tutorial
.
Read all in
Bootstrap Get Started
.
What is RWD?
What does Bootstrap include? Are design templates included?
<meta> tag?
Typical structure to use Bootstrap
<meta> tag
Bootstrap CSS library
jQuery library
Bootstrap JS library
div.container or div.container-fluid class - not nestable
How to adjust the layout?
Read all in
Bootstrap Grids
.
div.col-(xs|sm|md|lg)-(1|2|...|12)
within
div.row
Trial 1
: Let's try to give good divisions. Two rows, and two columns in the second row.
When you want more, you can get more.
What a great world!
What a wonderful world!
Submit
How many rows and columns can you see in TRU Board Game Playground?
Lab 2.
The layout in the next program, lab2_bgp.html, is not correctly supported.
Find the place for the container, rows and columns, and fix them.
Let's download and complete the program.
lab2_bgp.html
menu_icon.png
Learning outcomes